<script setup>
import {personPinia} from '../store/store.js'

let person = personPinia()

</script>

<template>
  <div>

    username: <input type="text" v-model="person.username"><br>
    age: <input type="text" v-model="person.age"><br>
    爱好： 
    唱歌<input type="checkbox" value="唱歌" v-model="person.hobbies">
    吃饭<input type="checkbox" value="吃饭" v-model="person.hobbies">
    跳舞<input type="checkbox" value="跳舞" v-model="person.hobbies">
    打豆豆<input type="checkbox" value="打豆豆" v-model="person.hobbies">
    rap<input type="checkbox" value="rap" v-model="person.hobbies">
    <hr>
    person的信息展示{{ person }}
    
  </div>
</template>

<style scoped>
</style>
